<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="http://cdn.gbtags.com/jquery/1.8.0/jquery-1.8.0.min.js"></script>
    <script src="./js/jquery.barrager.js"></script>
</head>
<body>
<button>点击</button>
<script>
    $('button').on('click',function(){
        $('body').barrager({'img':'./img/author_1.png','info':'Hello world!'});
    })

</script>
</body>
</html>